package git12;

import java.util.Scanner;

public class gitTest {
    public static void main(String[] args) {
        Lock l = new Lock();
        Decrypt d = new Decrypt();
        Strong s=new Strong();
        Create c=new Create();
        Scanner in = new Scanner(System.in);
        for (; true; ) {
            System.out.println("          ??ӭʹ???????ͳ");
            System.out.println("?ѡ??????");
            System.out.println("1.???");
            System.out.println("2.???");
            System.out.println("3.????????");
            System.out.println("4.?????");
            System.out.println("5.???");
            System.out.println("???ѡ???ţ?");
            int a = in.nextInt();
            System.out.println("          ??ӭʹ???????ͳ");

            if (a == 1) {
                System.out.println("???Ҫ??ܵ??룺");
                String newKey1 = in.next();
                System.out.println("??ܺ??????" + l.Lock(newKey1));
            } else if (a == 2) {
                System.out.println("???Ҫ??ܵ??룺");
                String newKey2 = in.next();
                System.out.println("??ܺ??????" + l.Lock(newKey2));
            } else if (a == 3) {
                System.out.println("???????");
                String newKey3=in.next();
                System.out.println("??ǿ?????"+s.Strong(newKey3));

            } else if (a == 4) {
                System.out.println("???????룺 " +c.createPas(10));


            } else if (a == 5) {
                System.out.println("??????????ͳ");
            }
            System.out.println("??????????");
            String turnBack=in.next();
        }
    }
}
